/**
 * 
 */
package managerBeans;

import models.StatusResponse;
import models.UserInfo;
import db.UserAccountDatabaseBean;

/**
 * @author Teja
 *
 */
public class UserAccountManager {

	private UserAccountDatabaseBean db; 
	
	public UserAccountManager()
	{
		this.db = new UserAccountDatabaseBean();
	}

	public StatusResponse RegisterUser(UserInfo userInfo)
	{		
		StatusResponse response = db.RegisterUser(userInfo);
		
		return response;
	}
	
	/**
	 * @return the db
	 */
	public UserAccountDatabaseBean getDb() {
		return db;
	}

	/**
	 * @param db the db to set
	 */
	public void setDb(UserAccountDatabaseBean db) {
		this.db = db;
	}
	
}
